home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacApp Release 10 / MacApp Release 10 - HD Ready / Tools / MABuildtool.MAMake < prev    next >
Encoding:
Text File  |  1996-04-03  |  2.0 KB  |  78 lines  |  [TEXT/MPS ]

  1. # MABuildTool.MAMake
  2. # Copyright © 1984-96 by Apple Computer, Inc. All rights reserved.
  3.  
  4. # Build command:
  5. #    MABuild -Classic -AutoBuild MABuildTool
  6. #    MABuild -cp MrC -AutoBuild MABuildTool
  7. #    MABuild -cp MWC68K -AutoBuild -modelfar MABuildTool
  8.  
  9. MACPlusPaths = ∂
  10.     -i "{IncApp}" ∂
  11.     -i "{MAToolIncludes}" ∂
  12.     -i "{MACoreIncludes}" ∂
  13.     -i "{MAODMemMgrIncludes}" ∂
  14.     -i "{CIncludes}"
  15.  
  16. MARezPaths = ∂
  17.     -i "{IncApp}" -s "{ObjApp}" ∂
  18.     -i "{MAToolIncludes}" -s "{MAToolObj}" ∂
  19.     -i "{MACoreIncludes}" -s "{MACoreObj}" ∂
  20.     -i "{MAODMemMgrIncludes}" -s "{MAODMemMgrObj}" ∂
  21.     -i "{CIncludes}"
  22.  
  23. ToolName = MABuildTool
  24. ####OtherLinkOptions = -xm mpwtool
  25. Creator = 'MPS '
  26.  
  27. OtherLinkFiles = ∂
  28.         "{MACoreObj}"MACore.lib ∂
  29.         "{MAToolObj}"MATool.lib ∂
  30.         "{MAODMemMgrObj}"MAODMemMgr.lib ∂
  31.         "{ObjApp}UStringHandle.cp.o"
  32.  
  33.  
  34. "{ObjApp}UStringHandle.cp.o"     ƒ ∂
  35.     "{SrcApp}UStringHandle.cp" ∂
  36.     "{IncApp}UStringHandle.h" ∂
  37.     "{BuildFlags}"
  38.  
  39.  
  40. "{ObjApp}MABuildTool.cp.o"     ƒ ∂
  41.     "{SrcApp}MABuildTool.cp" ∂
  42.     "{IncApp}UStringHandle.h" ∂
  43.     "{MACoreIncludes}MacAppVersion.h" ∂
  44.     "{BuildFlags}"
  45.  
  46.  
  47. # propagate dependencies back to the script's commando interface
  48. DummyCommand = 
  49. "{ObjApp}{ToolName}"                ƒƒ ∂
  50.         "{ObjApp}MABuild"
  51.     {DummyCommand}
  52.  
  53. # propagate the dependencies back to the script's commando interface
  54. "{ObjApp}MABuild"                    ƒ ∂
  55.         "{SrcApp}MABuild.r" ∂
  56.         "{MACoreIncludes}MacAppVersion.h"
  57.     {MAEcho} {EchoOptions} "Duplicating    MABuild"
  58.     Duplicate "{MATools}MABuild" "{ObjApp}" -y
  59.     {MAEcho} {EchoOptions} "Rezzing:       MABuild.r"
  60.     SET XToolStartTime `DATE -n`
  61.     {MARez} ∂
  62.         -d MAIncludeOtherViewTypes={MAIncludeOtherViewTypes} ∂
  63.         -d MAViewTypesSrc={MAOtherViewTypesSrc} ∂
  64.         -i "{SrcApp}" -s "{SrcApp}" {MARezPaths} ∂
  65.         -o "{ObjApp}MABuild" ∂
  66.         -a ∂
  67.         {RezOptions} ∂
  68.         {OtherRezOptions} ∂
  69.         "{SrcApp}MABuild.r"
  70.     IF "{XTimes}"
  71.         {MAEcho} {EchoOptions} Elapsed time: `evaluate ∂`DATE -n ∂` - {XToolStartTime}` seconds
  72.     END
  73.  
  74.  
  75. # the following line will get you some source for the commando interface
  76. #derez MABuild "{RIncludes}Cmdo.r" "{RIncludes}Types.r" -m 80 -only 'cmdo' >MABuild.recovered.r
  77.  
  78.